<?php
$this->registerCssFile('@web/css/login.css',['depends'=>['app\assets\AppAsset']]);
?>
<div class="content">
	<div class="container">
		<div class="sign">
			<div class="sign-top-wrap">
				<p><span>管理员登录</span></p>
				<p></p>
			</div>
			<form id="adminlogin" class="form" action="?r=admin/login" method="post">
				<div class="form-group">
						<label for="managername">用户名:</label>
						<input type="text" class="user-input" name="managername" id="managername" placeholder="用户名 Username"></input>
				</div>
				<div class="form-group">
					<label for="managerpassword">密码:</label>
					<input type="password" class="user-input" name="managerpassword" id="managerpassword" placeholder="密码 Password"></input>
				</div>
				<input name="_csrf" type="hidden" id="_csrf" value="<?= Yii::$app->request->csrfToken ?>">
			</form>

			<div class="button">
				<div class="sign-in" onclick="$('#adminlogin').submit();">
					<a href="#">登录 <span>login</span></a>
				</div>
			</div>
			<br><br><br>
	    </div>
	</div>
</div>
